using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Rules
/// </summary>
public class Rule
{
	decimal _imgCost;
    decimal _minGap;
    decimal _maxGap;
    decimal _quickCost;
    int _minInBid;
    int _maxInBid;
    int _maxReturn;

    public Rule(){}
    public Rule(decimal imgCost,decimal minGap,decimal maxGap,decimal quickCost, int minInBid,
        int maxInBid,int maxReturn)
    {
        _imgCost = imgCost;
        _minGap = minGap;
        _maxGap = maxGap;
        _quickCost = quickCost;
        _minInBid = minInBid;
        _maxInBid = maxInBid;
        _maxReturn = maxReturn;
    }
    public decimal ImgCost
    {
        get { return _imgCost; }
        set { _imgCost = value; }
    }
    public decimal MinGap
    {
        get { return _minGap; }
        set { _minGap = value; }
    }
    public decimal MaxGap
    {
        get { return _maxGap; }
        set { _maxGap = value; }
    }
    public decimal QuickCost
    {
        get { return _quickCost; }
        set { _quickCost = value; }
    }
    public int MinInBid
    {
        get { return _minInBid; }
        set { _minInBid = value; }
    }
    public int MaxInBid
    {
        get { return _maxInBid; }
        set { _maxInBid = value; }
    }
    public int MaxReturn
    {
        get { return _maxReturn; }
        set { _maxReturn = value; }
    }
    
}
